package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.Driver;
import com.ybkj.daijia.server.model.DriverRebate;
import java.util.List;

/**
 * @author Shine
 */
public interface DriverRebateService {

    /**
     * @param admin
     * @return
     */
    public DriverRebate save(DriverRebate driverRebate);

    public void update(DriverRebate driverRebate);

    public DriverRebate findOne(Long driverId);

    public List<DriverRebate> findAll();

    public DriverRebate findByDriverId(Long driverId);

    public String getWeixinShareCodeUrl(Driver driver);

}
